Skip to content

docs: per-component SWE-bench results + agent preset#5

Merged
OsherElhadad merged 2 commits into
mainfrom
feat/results-preset
Jul 12, 2026
Merged

docs: per-component SWE-bench results + agent preset#5
OsherElhadad merged 2 commits into
mainfrom
feat/results-preset

Conversation

@OsherElhadad

Copy link
Copy Markdown
Collaborator

Follow-up to the context-guru redesign (#4).

What

  • docs/RESULTS.md — per-component evaluation on SWE-bench (Claude Code, claude-sonnet-4-6) through the eval-containers gateway: the savings table, methodology/caveats, and why the inert components are inert on this traffic.
  • agent preset (config.go) — [format, dedup, failed_run, mask, extract, cacheinject], tuned for long agentic sessions.
  • Docs updated (components.md presets, README.md results link).

Result

On the 6 baseline-resolved tasks, mask cut ~27% of content tokens with zero task-reward loss (extract 11%, balanced 12%, failed_run 6%); every component preserved reward 6/6. Claude Code's context is dominated by line-numbered file reads re-sent each turn — mask (drop old tool outputs) attacks that directly. The components that show 0% are genuinely inert on this traffic (no JSON/commands/fenced code), not buggy.

Osher-Elhadad added 2 commits July 12, 2026 17:16
Full per-component eval on SWE-bench (Claude Code, claude-sonnet-4-6) through the
eval-containers gateway: zero task-reward regression across every component;
mask offloads the growing file-read transcript for ~27% content-token savings
with no reward loss, the biggest lever on agentic traffic. Adds docs/RESULTS.md
(table + methodology + why the inert components are inert on this traffic) and a
mask-centric 'agent' preset [format, dedup, failed_run, mask, extract, cacheinject].

Assisted-By: Claude (Anthropic AI)
Signed-off-by: Osher-Elhadad <Osher.Elhadad@ibm.com>
…mples

All-task tables (savings%, reward, agent wall-clock across 10 tasks × 13 configs),
per-component summary with measured compute time (mask ~2ms, failed_run/extract
~6ms), and real before->after message rewrites captured via CONTEXT_GURU_DUMP on
sphinx-7910 (mask 606->27, failed_run 423->33, extract relevance projection).
Notes the marker-overhead per-message follow-up for the offloaders.

Assisted-By: Claude (Anthropic AI)
Signed-off-by: Osher-Elhadad <Osher.Elhadad@ibm.com>
@OsherElhadad OsherElhadad merged commit d8bbef4 into main Jul 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant